<template>
  <div class="loading">
    <van-loading type="spinner" size="24px" />
    <span>数据加载中</span>
  </div>
</template>

<script>
import Vue from "vue";
import { Loading } from "vant";

Vue.use(Loading);

export default {
  created() {},
};
</script>

<style lang="scss" scoped>
.loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 150rem;
  height: 100rem;
  border-radius: 20rem;
  margin: auto;
  margin-top: 200rem;
  background-color: rgba(0, 0, 0, 0.664);
  color: #fff;
  box-sizing: border-box;
  span {
    margin-top: 15rem;
  }
}
</style>